sh.addShard("shard1/10.37.129.6:37017,10.37.129.6:37018,10.37.129.6:37019");
sh.addShard("shard2/10.37.129.6:47017,10.37.129.6:47018,10.37.129.6:47019");
sh.status();

sh.enableSharding("lagou_resume");
sh.shardCollection("lagou_resume.lagou_resume_datas",{"name":"hashed"});